<div class="page-header">
    <h2><b>Danh sách gia sư đang tìm lớp</b></h2>
</div>


<?php
$i = 0;
foreach ($data as $value) {
    ?>
    <div class="panel panel-default">
        <div class="panel-body">
            <div class="row">
                <div class="col-md-4">
                    <img src="<?php echo base_url(); ?>/image/tutor.png" alt="..." height="140px" class="img-rounded">            
                </div>
                <div class="col-md-8">
                    <p>
                    <h4><b>Trường:</b> <?php print_r($value['HocTruong']); ?></h4>
                    <h4><b>Hiện là:</b><?php print_r($value['HienLa']); ?></h4>
                    <h4><b>Mức lương yêu cầu:</b> <?php print_r($value['MucLuongYeuCau']); ?></h4>
                    </p>
                    <?php echo form_open('giaodich/display/display_lamgiasu_chitiet/' . $value['id']); ?>
                    <div style="float:right;">
                        <p>
                            <button class="btn btn-primary" role="button">
                                Chi tiết »
                            </button>
                        </p>
                    </div>
                    <?php echo form_close(); ?>
                </div>
            </div>
        </div>
    </div>
    <?php
    $i = $i + 1;
}
?>



